
#pragma once

#include "Mutex.h"

class threadSync_t
{
public:
	threadSync_t(Mutex* m){this->m = m; this->m->Lock();};
	~threadSync_t(){m->Unlock();};

private:
	Mutex* m;
};